package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwTnl;
import com.tjmc.tiomscore.model.TranPtnHwTnlExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwTnlMapper extends TranPtnHwSuperMapper<TranPtnHwTnl> {
    long countByExample(TranPtnHwTnlExample example);

    int deleteByExample(TranPtnHwTnlExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwTnl record);

    int insertSelective(TranPtnHwTnl record);

    List<TranPtnHwTnl> selectByExample(TranPtnHwTnlExample example);

    TranPtnHwTnl selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwTnl record, @Param("example") TranPtnHwTnlExample example);

    int updateByExample(@Param("record") TranPtnHwTnl record, @Param("example") TranPtnHwTnlExample example);

    int updateByPrimaryKeySelective(TranPtnHwTnl record);

    int updateByPrimaryKey(TranPtnHwTnl record);
}